package com.cats.template.sys.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cats.template.sys.pojo.model.RoleModel;

import java.util.Set;

/**
 * @author duxiaobo
 * @date 2021/9/102:38 下午
 */
public interface RoleService extends IService<RoleModel> {

    Set<RoleModel> getRoleListByUserId(Long userId);

    Boolean configPermissions(Long roleId, Set<Long> permissionIds);
}
